package com.news.activity;

import com.xiang.news.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

public class AboutActivity extends Activity{
	ImageView back;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.about_activity_layout);
		
		back = (ImageView) findViewById(R.id.about_back);
		back.setOnClickListener(new ImageView.OnClickListener() {
			@Override
			public void onClick(View v) {
				AboutActivity.this.finish();
				overridePendingTransition(R.anim.left_in, R.anim.right_out);
			}
		});
	}

	
	@Override
	public void onBackPressed() {
		this.finish();
		overridePendingTransition(R.anim.left_in, R.anim.right_out);
		super.onBackPressed();
	}
}
